Failing; near the end.
Выбиться из сил, быть очень уставшим; приблизиться к концу.
I have just run 10 km and I am on my last legs!
Я только что пробежал 10 километров и я выбился из сил!
The blacksmith's business is on its last legs.
The dog is old and sick. He is on his last legs.